<template>
  <!-- #ifdef H5 -->
  <el-upload v-model:file-list="bindValue" v-bind="$attrs"></el-upload>
  <!-- #endif -->
</template>
<script setup>
// #ifdef H5
import { ElUpload } from "element-plus";
import "element-plus/theme-chalk/el-upload.css";
// #endif
import { computed, watch, ref } from "vue";
const props = defineProps({
  modelValue: {
    type: Array,
    default: () => [],
  },
});
const emits = defineEmits(["update:modelValue"]);
const bindValue = computed({
  get() {
    return props.modelValue;
  },
  set(value) {
    emits("update:modelValue", value);
  },
});
</script>
<style lang="scss" scoped></style>
